package com.example.fw;

import org.openqa.selenium.By;

public class NavigationHelper extends HelperWithWebDriverBase {

	public NavigationHelper(ApplicationManager manager) {
		super(manager);
	}
	
	public void goToGroupListPage() {
		//if (findElement(By.tagName())getCurrentUrl() !=)
		click(By.linkText("groups"));
	}

	public void openMainPage() {
		openUrl(manager.getProperty("baseUrl"));
	}
	
	public void goToAddNewContactCreationPage() {
	click(By.linkText("add new"));
	}
}